home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Python1.4_Source / CHANGES next >
Text File  |  1998-06-24  |  7KB  |  217 lines

  1.  
  2. Changes to the 1.4 source code distribution:
  3. --------------------------------------------
  4.  
  5. 1. Made custom include/config.h by hand for AmigaDOS+SAS/C+AmiTCP.
  6.  
  7. 2. Made custom modules/config.c by hand for Amiga version of Python.
  8.  
  9. 3. Added custom Amiga module `environment' (modules/environment.c).
  10.  
  11. 4. Added custom Amiga module `amiga' (modules/amigamodule.c).
  12.  
  13. 5. Added custom Amiga module `arexxll' (modules/arexxmodule.c).
  14.  
  15. 6. Added custom Amiga module `doslib' (modules/doslibmodule.c).
  16.  
  17. 7. Added custom module `urlop' (modules/urlopmodule.c).
  18.  
  19. 8. Added subdir Amiga with:
  20.     README                  - small describing text
  21.     mkdiff.py               - makes diffs against original distribution
  22.     Diffs/                  - output dir for mkdiff.py
  23.     make_gst.c              - for building the GST
  24.     Python_netlib/          - contains source for python_net.lib
  25.     python_net.lib          - custom version of AmiTCP's net.lib,
  26.                   including some additional code like custom
  27.                   WB startup, environment functions etc.
  28.     DISCL_and_COPYRIGHT     - my disclaimer & CWI's copyright message
  29.     testset/                - additional tests for Amiga modules
  30.     unused/                 - currently unused stuff
  31.     Docs/                   - Amiga docs for distribution
  32.     c*mempools.o        - replacement startup code for use with mempools lib
  33.     mempools*.lib        - different mempools libraries.
  34.  
  35. 9. Fixed unsigned char bytes in modules/binascii.c.
  36.  
  37. 10. Changes to objects/abstract.c:
  38.     Renamed 'method' to 'meth' in objects/abstract.c because of name clash.
  39.         (in function: PyObject_CallMethod)
  40.     Added proto for Py_ReturnNullError
  41.  
  42. 11. Removed definition of struct _node in include/compile.h for SASC.
  43.  
  44. 12. Changed in include/mymath.h:
  45.     Added #include "myproto.h" for hypot def.
  46.     Added SAS math includes
  47.  
  48. 13. Moved some unneeded files from parser to parser/NON-AMIGA,
  49.     from modules to modules/NON-AMIGA,
  50.     and from python to python/NON-AMIGA.
  51.     (these files are not included in the source archive for space reasons)
  52.  
  53. 14. Added include/protos.h file containing a bunch of function prototypes.
  54.  
  55. 15. Changes to include/allobjects.h:
  56.     Added #include "protos.h", #include <unistd.h>, #include <fcntl.h>
  57.  
  58. 16. Added #include <proto/usergroup.h> (when AMITCP is defined) to:
  59.     modules/pwdmodule.c
  60.     modules/grpmodule.c
  61.     modules/cryptmodule.c
  62.  
  63. 17. Changes to modules/main.c:
  64.     Fixed 2 prototypes
  65.     Added Amiga specific usage text
  66.     Added SAS/C stack setting etc
  67.     Added AmiTCP init & cleanup functions to modules/main.c
  68.         (checkXXXXlib functions)
  69.  
  70. 18. Changed in parser/intrcheck.c:
  71.     added #includes for unistd.h & fcntl.h
  72.     added SAS/C specific ^C handling
  73.  
  74. 19. Fixed return type to const char * for python/getcompiler.c &
  75.     python/getplatform.c
  76.  
  77. 20. Changes to python/pythonrun.c:
  78.     Don't use kill on Amiga
  79.     case insensitive match for .pyc
  80.     fixed proto for exitfuncs, getpythonpath
  81.     added proto for sighandler
  82.     
  83. 21. Changes to modules/socketmodule.c:
  84.     Don't use fcntl on Amiga
  85.     Added AMITCP includes
  86.     Added a couple of #defines for AMITCP API
  87.  
  88. 22. Implemented AMITCP version of select call (with optional 5th parameter)
  89.     in modules/select.c
  90.  
  91. 23. Changed modules/md5c.c to use regular memcpy and memset
  92.  
  93. 24. Added Amiga specific #defines to include/osdefs.h
  94.  
  95. 25. Changed in modules/sysmodule.c:
  96.     fixed prototypes for get... functions in initsys()
  97.     added code for correct behavior of setpythonargv() on Amiga
  98.  
  99. 26. Added #defines for strtol & strtoul in include/rename2.h,
  100.     to use the library functions instead of the ones defined in
  101.     python/mystrtoul.c.
  102.  
  103. 27. Added #include <ctype.h> to modules/regexmodule.c
  104.  
  105. 28. Added #include <proto/socket.h> to include/myselect.h for AMITCP
  106.  
  107. 29. Fixed proto for initfunc in include/import.h
  108.  
  109. 30. Fixed functionptr protos in python/ceval.c (in func: assign_subscript)
  110.  
  111. 31. Added proto to python/getmtime.c
  112.  
  113. 32. Fixed protos in modules/getpath.c
  114.  
  115. 33. Fixed protos in include/bltinmodule.h
  116.  
  117. 34. Added stack checking code to python/sigcheck.c
  118.  
  119. 35. Changed in python/import.c:
  120.     Fixed path building in find_module, now uses dos.library/AddPart
  121.     Fixed proto for getmtime
  122.  
  123. 36. Added AMIGA version string to python/getversion.c
  124.  
  125. 37. Added platform 'amiga' to python/getplatform.c
  126.  
  127. 38. Added compiler string to python/getcompiler.c
  128.  
  129. 39. Added code for floatsleep() on AMIGA in modules/timemodule.c
  130.  
  131. 40. Added checks for bsdsocket.library (checkbsdsocketlib) in:
  132.     modules/syslogmodule.c
  133.     modules/socketmodule.c
  134.     modules/selectmodule.c
  135.  
  136. 41. Fixed toupper macro in modules/soundex.c
  137.  
  138. 42. Added checks for usergroup.library (checkusergrouplib) in:
  139.     modules/pwdmodule.c
  140.     modules/grpmodule.c
  141.     modules/cryptmodule.c
  142.  
  143. 43. Added proto for float_buf_repr in objects/floatobject.c
  144.  
  145. 44. Added proto for getmaxint in objects/intobject.c
  146.  
  147. 45. Added Amiga/wbargs.c for better Workbench icon/tooltypes support
  148.  
  149. 46. Moved some files from Lib to Lib/NON-AMIGA.
  150.     (these files are not included in the source archive for space reasons)
  151.  
  152. 47. Changes to library files in lib drawer. These changes are also documented
  153.     in the README file. Files involved:
  154.     os.py           (amiga additions)
  155.     tempfile.py     (temp path try order is: T:, :T, SYS:T)
  156.     urllib.py       (uses builtin urlop module for speed)
  157.     posixpath.py    (stub for old posixpath.py)
  158.     amigapath.py    (amiga's replacement for posixpath.py)
  159.  
  160. 48. Slight changes in the testset (lib/test):
  161.     test_md5.py     (more tests)
  162.     test_pow.py    (ignores very small roundoff-errors)
  163.     testall.py      (now includes test_md5 and test_pow and test_strop)
  164.  
  165. 49. Supplied custom makefile for Amiga's SAS/C: SMAKEFILE.
  166.     Supplied SAS/C compiler options file: SCOPTIONS.
  167.     You don't need any of the original makefiles (just delete them if you like).
  168.  
  169. ------------------------- RELEASED ON AMINET, 12-jan-97 -----------------------
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.                                  BUG FIXES
  178.  
  179.                             ------------------
  180.  
  181.  
  182. SINCE RELEASE 1.4, 12-JAN-97
  183. ----------------------------
  184.  
  185.  1. Fixed nasty problem with math module. Math functions were not called
  186.     called directly but through a pointer. This resulted in larger code and
  187.     roundoff errors (why? dunno). Among others this caused the random module
  188.     to abort with a ValueError.
  189.     Changed some macros in modules/mathmodule.c so now the math functions
  190.     are called directly. The random module works now.
  191.     
  192.  2. Used yet another version of my mempools startup and malloc() code.
  193.     Somehow the previous one could still crash on exit. The current version
  194.     should be free of bugs and Enforcer hits.
  195.  
  196.  3. Fixed bug in ReadLink code: reported No such file or directory even when
  197.     the path was correct. Caused by passing incorrect lock to ReadLink()...      
  198.  
  199.  4. Added a #define in include/config.h:
  200.     #define __CHAR_UNSIGNED__
  201.     (a few files need this instead of __UNSIGNED_CHAR__)
  202.  
  203.  5. Added uname function in amiga module (modules/amigamodule.c)
  204.  
  205.  6. Changed tests for AMIGA symbol to _AMIGA.
  206.  
  207.  7. Python/getcompiler.c now dynamically builds SAS compiler version string.
  208.  
  209.  8. Updated my email address, and the Amiga Python homepage URL.
  210.  
  211.  
  212.  
  213.     Irmen de Jong
  214.     ijong@gak.nl
  215.     31-jan-98
  216.  
  217.